Ensure correct ordering of process writes.
authorTroels Nielsen <bn.troels@gmail.com>
Sun, 17 Jun 2012 09:00:37 +0000 (17:00 +0800)
committerChong Yidong <cyd@gnu.org>
Sun, 17 Jun 2012 09:00:37 +0000 (17:00 +0800)
commit52a199d4b2b78518ad2112f963d3afc27f753250
tree66acc6cee8febd810018594feb49e355bd07b514
parentef19b1475c5a7a70af39deedbf07100071593f42
Ensure correct ordering of process writes.

* process.c (make_process): Initialize write_queue.
(write_queue_push, write_queue_pop): New functions.
(send_process): Use them to maintain correct ordering of process writes.
src/ChangeLog
src/process.c
src/process.h